<?php
// print_r($_GET); die; 
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

get_header();

// get top menu of anh cuoi pages 
get_sidebar('anhcuoi');

$user_ID = get_current_user_id();

global $wpdb; 
$tb = $wpdb->prefix.'hdwplayer'; 
$data = $wpdb->get_row("SELECT * FROM $tb WHERE client_id = {$user_ID} AND client_type = {$_GET['type']}");
?>
<div class="main">
    <div class="container ">
        <?php
            echo do_shortcode("[hdwplayer id={$data->id}]"); 
        ?> 
		<div class="hdsd" style="padding-top: 1px">
		<div class="tab">
		<h2> Ý KIẾN CỦA BẠN </h2>
		<hr>
        <?php comments_template( '', true ); ?>
			</div>
			</div>
    </div>
</div>

<?php get_footer(); ?>
